<%@page import="coy.learning.dealership.*"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ include file="header.jsp" %>
<%

Car myCar = new Car();

%>

<div id="helloDiv">
	<b>Hello world <%= myCar.getInfo() %></b>
</div>

<a href="#" onclick="changeOpacity()">Change Opacity</a>

<script type="text/javascript">
	function changeOpacity() {
		new Effect.Opacity('helloDiv', { from: 1.0, to: 0.2, duration: 0.5 });
	}
</script>

</body>
</html>